﻿#include "widget.h"
#include "clog.h"
#include "chatsocket.h"
#include <QApplication>
#include "chatdb.h"
#include "conf.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    Widget::getInstance()->show();
    Conf::getInstance()->init();
    ChatDB::getInstance()->initSysDB();
    ChatSocket::getInstance()->intiAll();

    return a.exec();
}
